<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss2">
    <title>故障现象</title>
</head>
<body>

<div class="layui-fluid">

    <blockquote class="layui-crumb">
        后台产品>产品分类>
        <a lay-href="/serv/categ/ass/list.action">分类关联</a>>
        <a th:href="|/serv/categ/ass/serviceItemView.action?groupId=${servAssCategory.groupId}|">服务内容</a>
    </blockquote>
    <div class="layui-card">

        <div th:replace="servasscategory/_tab :: tab"></div>

        <div class="layui-card-body">
            <form method="post" action="" class="layui-form" lay-filter="zmn-form">
                <input type="hidden" name="groupId" th:value="${servAssCategory.groupId}">

                <div class="layui-form-item">
                    <label class="layui-form-label">已关联服务内容：</label>
                    <div class="layui-input-block">
                        <div class="layui-inline">
                            <div style="line-height: 20px; padding: 7px 15px;" th:text="${serviceContentName}"></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-form-required">关联服务内容：</label>
                    <div class="layui-input-block">
                        <div class="layui-input-inline" style="width: 400px">
                            <div id="serviceContentIds"></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item submit">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit">提交
                        </button>
                        <a href="/serv/categ/ass/list.action"
                           class="layui-btn layui-btn-primary" text="取消">取消</a>

                    </div>
                </div>
            </form>
        </div>
    </div>

</div>

<script src="/static/js/commonSelect.js"></script>
<script type="text/javascript" th:inline="javascript">
    var json = {
        listServiceContent: [[${listServiceContent}]]
    }
    layui.config({
        version: 20200518,
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        plat_servasscategory_service_content: "servcategory/zmn.plat.serv.ass.categ.service.content.edit",
    }).use(['index', 'plat_servasscategory_service_content']);
</script>
<style type="text/css">
    .xm-select {
        width: 160px;
    }
</style>
</body>

</html>